﻿@model AssetManageSystem.ViewModel.AssetManage.AssetInfoVMs.AssetInfoVM
@inject IStringLocalizer<Program> Localizer;

<wt:form vm="@Model" label-width="120">
    <wt:row items-per-row="ItemsPerRowEnum.Two">
        <wt:textbox field="Entity.AsCode" disabled="true" />
        <wt:combobox field="Entity.TypeId" items="AllTypes" />
        <wt:textbox field="Entity.AsName" />
        <wt:combobox field="Entity.MeasUnit" />
        <wt:textbox field="Entity.AssetOwnership" />
        <wt:combobox field="Entity.Source" />
        <wt:textbox field="Entity.PurchasPrice" />
        <wt:datetime field="Entity.BuyTime" />
        <wt:textbox field="Entity.Supplier" />
        <wt:textbox field="Entity.SupplierContact" />
        <wt:textbox field="Entity.SupplierTel" />
        <wt:textbox field="Entity.AssetModels" />
        <wt:datetime field="Entity.MaintenanceEndTime" />
        <wt:textbox field="Entity.ProductSerialNumber" />
        <wt:textbox field="Entity.Servicelife" />
        <wt:combobox field="Entity.UseDepId" items="AllUseDeps" link-field="Entity.UsePeopleId" trigger-url="/OrgManage/user/GetUserByDep"/>
        <wt:combobox field="Entity.UsePeopleId" items="AllUsePeoples" />
        <wt:combobox field="Entity.Status" />
        <wt:textarea field="Entity.Remarks" colspan="2" />
    </wt:row>
    <wt:hidden field="Entity.ID" />
    <wt:row align="AlignEnum.Right">
        <wt:submitbutton />
        <wt:closebutton />
    </wt:row>
</wt:form>
